package com.nxy.spring.eureka

import org.slf4j.LoggerFactory
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer

@SpringBootApplication
@EnableEurekaServer
open class App {
    companion object {
        val logger =  LoggerFactory.getLogger(App::class.java)
    }
}

fun main(args: Array<String>) {
    SpringApplication.run(App::class.java)

    App.logger.info("app is start")
}

